import request from '@/utils/request'

// 项目月度资金计划
export function getProjectFundPlanInfoList(data) {
  return request({
    url: '/api/selfManage/projectFundPlanInfo/getProjectFundPlanInfoList',
    method: 'post',
    data
  })
}

export function getProjectFundPlanBasicInfoList(data) {
  return request({
    url: '/api/selfManage/projectFundPlanInfo/getProjectFundPlanBasicInfoList',
    method: 'post',
    data
  })
}

export function addProjectFundPlanInfo(data) {
  return request({
    url: '/api/selfManage/projectFundPlanInfo/addProjectFundPlanInfo',
    method: 'post',
    data
  })
}

export function updateProjectFundPlanInfo(data) {
  return request({
    url: '/api/selfManage/projectFundPlanInfo/updateProjectFundPlanInfo',
    method: 'post',
    data
  })
}

export function deleteProjectFundPlanInfo(params) {
  return request({
    url: '/api/selfManage/projectFundPlanInfo/deleteProjectFundPlanInfo',
    method: 'post',
    params
  })
}

export function getProjectFundPlanInfoDetail(params) {
  return request({
    url: '/api/selfManage/projectFundPlanInfo/getProjectFundPlanInfoDetail',
    method: 'post',
    params
  })
}

// 银行对内支付
export function getBankInternalPaymentBasicInfoList(data) {
  return request({
    url: '/api/selfManage/bankInternalPaymentInfo/getBankInternalPaymentBasicInfoList',
    method: 'post',
    data
  })
}

export function getBankInternalPaymentFinishInfoList(data) {
  return request({
    url: '/api/selfManage/bankInternalPaymentInfo/getBankInternalPaymentFinishInfoList',
    method: 'post',
    data
  })
}

export function addBankInternalPaymentInfo(data) {
  return request({
    url: '/api/selfManage/bankInternalPaymentInfo/addBankInternalPaymentInfo',
    method: 'post',
    data
  })
}

export function updateBankInternalPaymentInfo(data) {
  return request({
    url: '/api/selfManage/bankInternalPaymentInfo/updateBankInternalPaymentInfo',
    method: 'post',
    data
  })
}

export function deleteBankInternalPaymentInfo(params) {
  return request({
    url: '/api/selfManage/bankInternalPaymentInfo/deleteBankInternalPaymentInfo',
    method: 'post',
    params
  })
}

export function getBankInternalPaymentInfoDetail(params) {
  return request({
    url: '/api/selfManage/bankInternalPaymentInfo/getBankInternalPaymentInfoDetail',
    method: 'post',
    params
  })
}

export function updateBankInternalPaymentApprovedAmount(params) {
  return request({
    url: '/api/selfManage/bankInternalPaymentInfo/updateBankInternalPaymentApprovedAmount',
    method: 'post',
    params
  })
}

// 银行对外支付
export function getBankExternalPaymentBasicInfoList(data) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/getBankExternalPaymentBasicInfoList',
    method: 'post',
    data
  })
}

export function getBankExternalPaymentFinishInfoList(data) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/getBankExternalPaymentFinishInfoList',
    method: 'post',
    data
  })
}

export function addBankExternalPaymentInfo(data) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/addBankExternalPaymentInfo',
    method: 'post',
    data
  })
}

export function updateBankExternalPaymentInfo(data) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/updateBankExternalPaymentInfo',
    method: 'post',
    data
  })
}

export function getBankExternalDetailAmountInfo(params) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/getBankExternalDetailAmountInfo',
    method: 'post',
    params
  })
}

export function getBankExternalApprovedAmount(params) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/getBankExternalApprovedAmount',
    method: 'post',
    params
  })
}

export function deleteBankExternalPaymentInfo(params) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/deleteBankExternalPaymentInfo',
    method: 'post',
    params
  })
}

export function getBankExternalPaymentInfoDetail(params) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/getBankExternalPaymentInfoDetail',
    method: 'post',
    params
  })
}

export function updateBankExternalPaymentApprovedAmount(params) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/updateBankExternalPaymentApprovedAmount',
    method: 'post',
    params
  })
}

// 备用金支付
export function getReservePaymentBasicInfoList(data) {
  return request({
    url: '/api/selfManage/reservePaymentInfo/getReservePaymentBasicInfoList',
    method: 'post',
    data
  })
}

export function getReservePaymentFinishInfoList(data) {
  return request({
    url: '/api/selfManage/reservePaymentInfo/getReservePaymentFinishInfoList',
    method: 'post',
    data
  })
}

export function addReservePaymentInfo(data) {
  return request({
    url: '/api/selfManage/reservePaymentInfo/addReservePaymentInfo',
    method: 'post',
    data
  })
}

export function updateReservePaymentInfo(data) {
  return request({
    url: '/api/selfManage/reservePaymentInfo/updateReservePaymentInfo',
    method: 'post',
    data
  })
}

export function deleteReservePaymentInfo(params) {
  return request({
    url: '/api/selfManage/reservePaymentInfo/deleteReservePaymentInfo',
    method: 'post',
    params
  })
}

export function getReservePaymentInfoDetail(params) {
  return request({
    url: '/api/selfManage/reservePaymentInfo/getReservePaymentInfoDetail',
    method: 'post',
    params
  })
}

// 其他资金支付
export function getOtherPaymentBasicInfoList(data) {
  return request({
    url: '/api/selfManage/otherPaymentInfo/getOtherPaymentBasicInfoList',
    method: 'post',
    data
  })
}

export function updateOtherPaymentApprovedAmount(params) {
  return request({
    url: '/api/selfManage/otherPaymentInfo/updateOtherPaymentApprovedAmount',
    method: 'post',
    params
  })
}

export function getOtherPaymentFinishInfoList(data) {
  return request({
    url: '/api/selfManage/otherPaymentInfo/getOtherPaymentFinishInfoList',
    method: 'post',
    data
  })
}

export function getBankExternalContractInfoList(data) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/getBankExternalContractInfoList',
    method: 'post',
    data
  })
}

export function getBankExternalContractSettleInfoList(data) {
  return request({
    url: '/api/selfManage/bankExternalPaymentInfo/getBankExternalContractSettleInfoList',
    method: 'post',
    data
  })
}

export function getProjectFundPlanFinishInfoList(data) {
  return request({
    url: '/api/selfManage/projectFundPlanInfo/getProjectFundPlanFinishInfoList',
    method: 'post',
    data
  })
}

export function addOtherPaymentInfo(data) {
  return request({
    url: '/api/selfManage/otherPaymentInfo/addOtherPaymentInfo',
    method: 'post',
    data
  })
}

export function updateOtherPaymentInfo(data) {
  return request({
    url: '/api/selfManage/otherPaymentInfo/updateOtherPaymentInfo',
    method: 'post',
    data
  })
}

export function deleteOtherPaymentInfo(params) {
  return request({
    url: '/api/selfManage/otherPaymentInfo/deleteOtherPaymentInfo',
    method: 'post',
    params
  })
}

export function getOtherPaymentInfoDetail(params) {
  return request({
    url: '/api/selfManage/otherPaymentInfo/getOtherPaymentInfoDetail',
    method: 'post',
    params
  })
}

// 项目银行收款台账
export function getProjectBankCollectionList(data) {
  return request({
    url: '/api/selfManage/projectBankCollection/getProjectBankCollectionList',
    method: 'post',
    data
  })
}

export function addProjectBankCollection(data) {
  return request({
    url: '/api/selfManage/projectBankCollection/addProjectBankCollection',
    method: 'post',
    data
  })
}

export function updateProjectBankCollection(data) {
  return request({
    url: '/api/selfManage/projectBankCollection/updateProjectBankCollection',
    method: 'post',
    data
  })
}

export function deleteProjectBankCollection(params) {
  return request({
    url: '/api/selfManage/projectBankCollection/deleteProjectBankCollection',
    method: 'post',
    params
  })
}

export function getProjectBankCollectionDetail(params) {
  return request({
    url: '/api/selfManage/projectBankCollection/getProjectBankCollectionDetail',
    method: 'post',
    params
  })
}
// 虚拟账户
export function getVirtualAccountList(data) {
  return request({
    url: '/api/selfManage/virtualAccount/getVirtualAccountList',
    method: 'post',
    data
  })
}
